package com.huang.dao;

import com.huang.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    //注解   根据Id 查询用户

    @Select("select * from user where id=#{uid}")
    User getUserById(@Param("uid") Integer id);






}
